(function() {
    "use strict"
    window.sugar = new Sugar();

    window.app = function() {
        this.resume = function() {
            striped(70);
            sugar.call({
                method: "get",
                url: "/resume/html/resume.html",
                withCookie: false,
                data: {},
                success: function(data) {
                    var paper = document.getElementById("paper");
                    paper.innerHTML = data;
                    striped(100);
                    return 0;
                }
            });
            striped(90);
        };

        this.wiki = function() {
            var paper = document.getElementById("paper");
            paper.innerHTML = "wiki";
        };

        this.note = function() {
            var paper = document.getElementById("paper");
            paper.innerHTML = "note";
        };

        this.connect = function() {
            var paper = document.getElementById("paper");
            paper.innerHTML = "connect";
        }
    }
})();